<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/view/jsp/admin/includes/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>帐户管理</title>
		<%@ include file="/WEB-INF/view/jsp/admin/includes/meta.jsp"%>
		<link type="text/css" rel="stylesheet" href="${ctx}/admin/css/admin.css" />
		<link href="${ctx}/widgets/extremecomponents/extremecomponents.css"
			type="text/css" rel="stylesheet" />
		<script type="text/javascript" src="${ctx}/js/jquery.js"></script>
		<script type="text/javascript">
			function go(url)
			{
				window.location.href = url;
			}
			function deleData(url)
			{
				if(confirm("确定要删除吗？"))
				{
					window.location.href = url;
				}
			}
			function subForm()
			{
				var objFrom = document.getElementById("searchFrom");
				if(objFrom)
				{
					objFrom.submit();
				}
				 
			}
		</script>
	</head>

	<body>
		<div class="mask">
			<div class="container">
				<h3>
					帐户管理
				</h3>
				<form action="${ctx}/admin/huoshowAccount.do" method="post">
					用户名：<input type="text" id="username" name="username" />&nbsp;&nbsp;
					Email:<input type="text" id="email" name="email" />&nbsp;&nbsp;
					火秀号:<input type="text" id="huoshowId" name="huoshowId" />&nbsp;&nbsp;
					<input type="submit" value="查询" />&nbsp;&nbsp;
					<input  type="button" onclick="resetPara();" value="清空查询条件"/>
				</form>
				<div id="content">
					<ec:table items="page.result" var="huoshowAccount" rowsDisplayed="10"
						autoIncludeParameters="true" retrieveRowsCallback="limit"
						action="${ctx}/admin/huoshowAccount.do">
						<ec:row highlightRow="true">
							<ec:column property="rowcount" cell="rowCount" sortable="false"
								title="序号" width="30" />
								<ec:column property="user.username" title="用户名"/>
							<ec:column property="user.nickName" title="昵称"/>
							<ec:column property="balance" title="当前余额" width="100"/>
							<ec:column property="latedUpdatedDate" title="最后更新时间" width="138" sortable="true" cell="date" format="yyyy-MM-dd hh:mm:ss" />
						</ec:row>
					</ec:table>
				</div>
			</div>
		</div>
	</body>
</html>
<script>
	function resetPara(){
		//alert($("#username").val());
		$("#username").val("");
		$("#email").val("");
		$("#huoshowId").val("");
		$("#username").focus();
	}
</script>